package com.xinchengxd.goods.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author: 姚新成
 * @Date: 2021/11/8:22:00
 * @Description:
 */

@Configuration
//@SpringBootConfiguration
public class RestTemplateConfig {

    @Bean
    public RestTemplate getRestTemplate(){
        return new RestTemplate();
    }
}
